package com.hissy.common.design.create.builder;

/**
 * Created by zhangyanfei on 2019/4/4.
 *
 * @author zhangyanfei
 * @date 2019/04/04
 */
public class PersonDirector {
    public AbstractPerson constructPerson(PersonBuilder pb) {
        pb.buildBody();
        pb.buildFoot();
        pb.buildHead();
        return pb.buildPerson();
    }
}
